A Uniform Framework for Collection Types

نویسنده

  • Leonidas Fegaras
چکیده

We present a new algebra for complex database objects based on monoids and monoid homomorphisms. The object types supported in our algebra can be any nested composition of collection types, which include lists, sets, multisets, vectors, and matrices. We deene a new calculus equivalent to this algebra, called monoid comprehensions, that captures operations involving diverse collection types in declarative form. We present a normalization algorithm that reduces any expression in our algebra to a canonical form which, when evaluated, generates very few intermediate data structures. This algorithm generalizes some well-known algebraic optimization techniques and heuristics used in relational query optimization. In addition, we demonstrate the modeling power of this language by capturing physical storage structures and algorithms, such as merge join, hash join, and partitioned hash join. Finally, we extend this algebra by incorporating object-oriented features, such as object identity, and destructive updates.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A COMMON FRAMEWORK FOR LATTICE-VALUED, PROBABILISTIC AND APPROACH UNIFORM (CONVERGENCE) SPACES

We develop a general framework for various lattice-valued, probabilistic and approach uniform convergence spaces. To this end, we use the concept of $s$-stratified $LM$-filter, where $L$ and $M$ are suitable frames. A stratified $LMN$-uniform convergence tower is then a family of structures indexed by a quantale $N$. For different choices of $L,M$ and $N$ we obtain the lattice-valued, probabili...

متن کامل

The Hypergeometric Coupon Collection Problem and its Dual

Suppose an urn contains M balls, of different types, which are removed from the urn in a uniform random manner. In the hypergeometric coupon collection problem, we are interested in the set of balls that have been removed at the moment when at least one ball of each type has been removed. In its dual, we are interested in the set of removed balls at the first moment that this set contains all o...

متن کامل

Towards Polytypic Parallel Programming

Data parallelism is currently one of the most successful models for programming massively parallel computers. The central idea is to evaluate a uniform collection of data in parallel by simultaneously manipulating each data element in the collection. Despite many of its promising features, the current approach su ers from two problems. First, the main parallel data structures that most data par...

متن کامل

Routing Vehicle of Urban Waste Collection Utilities GIS

Municipal solid waste collection is expensive and, in some cities, 46–85% of their whole waste management expenses are used for waste collection and transportation. Rapid urbanization and every day human actions generate a large amount of waste from residential, commercial, or industrial extents all over the world. Waste collection optimization can decrease the waste collection budget and envir...

متن کامل

Design and Validation of Decentering Schemes for Decision-Making about Curriculum Based on Schwab’s Theory and Features of the Curriculum Development System in Iran

Aim: the present study aimed to design and validate decentering schemes for decision making about curriculum based on Schwab’s practical theory and features of the educational system in Iran. Method: in the first step, qualitative methods of "Speculative Essay", "Evaluative Inquiry: Situational Assessment", and "Integrative Inquiry: The Research Synthesis" were employed to explain decentering ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2007